
from selenium.webdriver.support.select import Select

class BasePage:
    #基类
    def __init__(self, driver):
        # 实例化必须传递浏览器，再传递的浏览器中打开页面并操作
        #:param driver :浏览器对象
        self.driver = driver

    def open(self):
        #打开登录页面
        # :return:
        self.driver.get(self.url)
